package net.supcmdr.dnd5e.ui.subpanels.character;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.border.LineBorder;

@SuppressWarnings("serial")
public class PrimaryStatsPanel extends JPanel {
	
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;
	private JTextField textField_7;
	private JTextField textField_8;
	private JTextField textField_9;
	private JTextField textField_10;
	private JTextField textField_11;
	
	public PrimaryStatsPanel() {
		
		System.out.println("    -Creating PrimaryStatsPanel");
		
		setMinimumSize(new Dimension(150,625));
		setPreferredSize(new Dimension(150, 645));
		setBorder(new LineBorder(new Color(0, 0, 0), 1, true));
		setLayout(null);
		
		JLabel lblPrimaryStats = new JLabel("Primary Stats");
		lblPrimaryStats.setBounds(11, 11, 130, 22);
		lblPrimaryStats.setFont(new Font("Tahoma", Font.BOLD, 18));
		lblPrimaryStats.setHorizontalAlignment(SwingConstants.CENTER);
		add(lblPrimaryStats);
		
		JLabel lblStrength = new JLabel("Strength");
		lblStrength.setBounds(20, 58, 105, 19);
		lblStrength.setHorizontalAlignment(SwingConstants.CENTER);
		lblStrength.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 14));
		add(lblStrength);
		
		textField = new JTextField();
		textField.setBounds(20, 83, 105, 20);
		add(textField);
		textField.setColumns(10);
		
		JLabel lblMod = new JLabel("Mod:");
		lblMod.setBounds(23, 112, 36, 14);
		add(lblMod);
		
		textField_1 = new JTextField();
		textField_1.setBounds(69, 109, 56, 20);
		add(textField_1);
		textField_1.setColumns(10);
		
		JLabel lblDexterity = new JLabel("Dexterity");
		lblDexterity.setBounds(20, 155, 105, 17);
		lblDexterity.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 14));
		lblDexterity.setHorizontalAlignment(SwingConstants.CENTER);
		add(lblDexterity);
		
		textField_2 = new JTextField();
		textField_2.setBounds(20, 178, 105, 20);
		textField_2.setColumns(10);
		add(textField_2);
		
		JLabel label = new JLabel("Mod:");
		label.setBounds(20, 207, 36, 14);
		add(label);
		
		textField_3 = new JTextField();
		textField_3.setBounds(69, 204, 56, 20);
		textField_3.setColumns(10);
		add(textField_3);
		
		JLabel lblIntelligence = new JLabel("Intelligence");
		lblIntelligence.setBounds(20, 249, 105, 17);
		lblIntelligence.setHorizontalAlignment(SwingConstants.CENTER);
		lblIntelligence.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 14));
		add(lblIntelligence);
		
		textField_4 = new JTextField();
		textField_4.setBounds(20, 272, 105, 20);
		textField_4.setColumns(10);
		add(textField_4);
		
		textField_5 = new JTextField();
		textField_5.setBounds(69, 298, 56, 20);
		textField_5.setColumns(10);
		add(textField_5);
		
		JLabel label_1 = new JLabel("Mod:");
		label_1.setBounds(20, 301, 36, 14);
		add(label_1);
		
		JLabel lblConstitution = new JLabel("Wisdom");
		lblConstitution.setBounds(20, 343, 105, 17);
		lblConstitution.setHorizontalAlignment(SwingConstants.CENTER);
		lblConstitution.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 14));
		add(lblConstitution);
		
		textField_6 = new JTextField();
		textField_6.setBounds(20, 366, 105, 20);
		textField_6.setColumns(10);
		add(textField_6);
		
		textField_7 = new JTextField();
		textField_7.setBounds(69, 392, 56, 20);
		textField_7.setColumns(10);
		add(textField_7);
		
		JLabel label_2 = new JLabel("Mod:");
		label_2.setBounds(20, 395, 36, 14);
		add(label_2);
		
		JLabel label_3 = new JLabel("Constitution");
		label_3.setBounds(20, 437, 105, 17);
		label_3.setHorizontalAlignment(SwingConstants.CENTER);
		label_3.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 14));
		add(label_3);
		
		textField_8 = new JTextField();
		textField_8.setBounds(20, 460, 105, 20);
		textField_8.setColumns(10);
		add(textField_8);
		
		textField_9 = new JTextField();
		textField_9.setBounds(69, 486, 56, 20);
		textField_9.setColumns(10);
		add(textField_9);
		
		JLabel label_4 = new JLabel("Mod:");
		label_4.setBounds(20, 489, 36, 14);
		add(label_4);
		
		JLabel lblCharisma = new JLabel("Charisma");
		lblCharisma.setBounds(20, 531, 105, 17);
		lblCharisma.setHorizontalAlignment(SwingConstants.CENTER);
		lblCharisma.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 14));
		add(lblCharisma);
		
		textField_10 = new JTextField();
		textField_10.setBounds(20, 554, 105, 20);
		textField_10.setColumns(10);
		add(textField_10);
		
		textField_11 = new JTextField();
		textField_11.setBounds(69, 580, 56, 20);
		textField_11.setColumns(10);
		add(textField_11);
		
		JLabel label_5 = new JLabel("Mod:");
		label_5.setBounds(23, 583, 36, 14);
		add(label_5);
	}
}
